package com.yuanqi.springboot_banksystem.mapper;

import com.yuanqi.springboot_banksystem.entity.UserEntity;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface UserMapper {

    Integer addUser(UserEntity userEntity);

    Integer deleteUser(String username);

    Integer updateUser(UserEntity userEntity);

    UserEntity selectUser(String username);

    List<UserEntity> selectAllUser();

}
